﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="UCAnswers.ascx.cs" Inherits="Hired.UCAnswers" %>

    <style type="text/css">
        .answerbg
        {
            position: relative;
            width: 850px;
            margin: 0 auto;
            border: solid 1px;
        }
        .rating
        {
            float: right;
            bottom: 0px;
            margin-right: 35px;
        }
        .lblCounter
        {
            position: absolute;
            left: 10px;
            top: 5px;
        }
        .lblTimeStamp
        {
            position: absolute;
            right: 10px;
            top: 5px;
        }  
      </style>

<div class="answerbg">
            
            <table style="width:100%; text-align:center;">
                
                <tr>
                    <td width="225px">
                    <div class="lblCounter">
                        <asp:Label ID="lblCounter" runat="server" Font-Size="X-Small" Text="Answer #" /></asp:Label>
                    </div>
                        <br />   
                        <asp:ImageButton ID="imgPoster" runat="server" Height="150px" Width="150px" />
                        <br />
                        <asp:LinkButton ID="lblPosterUsername" runat="server"></asp:LinkButton></td>
                    <td>
                        <div class="lblTimeStamp">
                            <asp:Label ID="lblTimestamp" runat="server" Font-Size="X-Small"></asp:Label></div>
                        <asp:Label ID="lblAnswerContents" runat="server"></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td colspan="2">
                    <div class="rating">
                        <asp:ImageButton ID="imgRatingPositive" runat="server" 
                            ImageUrl="~/Images/ratingpositive.gif" />
                        <asp:Label ID="lblRatingPositive" runat="server" ForeColor="#00CC00"></asp:Label>
                        <asp:ImageButton ID="ImageButton2" runat="server" 
                            ImageUrl="~/Images/ratingnegative.gif" />
                        <asp:Label ID="lblRatingNegative" runat="server" ForeColor="Red"></asp:Label>
                        <br />
                        </div>
                        </td>
                </tr>
            </table>
    </div>

